package com.hfuu.service.check;

import com.github.pagehelper.PageInfo;
import com.hfuu.exceptions.ServiceExceptionSpec;
import com.hfuu.model.po.TbCheckRecord;
import com.hfuu.service.check.request.SchoolCheckRequest;
import com.hfuu.service.check.request.UpdateCheckRequest;

public interface SchoolCheckService {

    /**
     * 分页获取资料审核
     * @param request
     * @return
     */
    PageInfo listCheckData(SchoolCheckRequest request) throws ServiceExceptionSpec;

    /**
     * 通过ID获得信息资料数据
     * @param request
     * @return
     */
    TbCheckRecord getCheckDataDetail(SchoolCheckRequest request) throws ServiceExceptionSpec;

    /**
     * 提交审核结果并发送邮件
     * @param request
     * @return
     */
    Integer updateCheckData(UpdateCheckRequest request) throws ServiceExceptionSpec;
}
